package com.mine.modules.vm.domain.dto;

import com.mine.common.domain.query.PageQuery;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("图元统一查询表单")
public class CommonElementListDto extends PageQuery {

    @ApiModelProperty(value = "图层Id", required = true)
    private String layerId;

    @ApiModelProperty(value = "图元类型（来自数据字典）", required = true)
    private String elementType;

    @ApiModelProperty(value = "监控分类Id")
    private String pId;

    @ApiModelProperty(value = "资产设备分类")
    private String assetClassify;

    @ApiModelProperty(value = "资产设备安装位置")
    private String installPosition;

    @ApiModelProperty(value = "点位分类")
    private String pointClassify;

    public CommonElementListDto() {
    }

    public CommonElementListDto(String layerId, String elementType, String pId, String assetClassify,String installPosition,String pointClassify) {
        this.layerId = layerId;
        this.elementType = elementType;
        this.pId = pId;
        this.assetClassify = assetClassify;
        this.installPosition = installPosition;
        this.pointClassify = pointClassify;
    }

    @Override
    public String toString() {
        return "CommonElementListDto{" +
                "layerId='" + layerId + '\'' +
                ", elementType='" + elementType + '\'' +
                ", pId='" + pId + '\'' +
                ", assetClassify='" + assetClassify + '\'' +
                ", installPosition='" + installPosition + '\'' +
                ", pointClassify='" + pointClassify + '\'' +
                '}';
    }
}
